package com.znsd.stu.service;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.znsd.entitys.Users;

public interface Cwj_UserService {
	public List<Users> gettecher();
	
	public List<Users> gettecherAll();
	
	public List<Users> getStuByClass(Integer classId);
	
	public int getCountTeacher();
	
	public Users getByTeaher(Integer userId);
	
	public void updateUserClass(Integer newId,Integer oldId);
	
	public void delete(Integer id);
	
	public List<Users> getStudnet();
	
	public int getCountStudent();
	
	public void updateStuByClassPost(Integer classId,Integer stuId);
	
	public void updateteacher(Integer user_id,String user_name,
			Integer user_age,String user_phone,
			String user_mail,String user_idCard,
			Date user_birthday,String user_native,
			String user_home,String user_education,
			String user_nation,Date graduate_time,
			Integer user_married,Integer user_sex,Integer user_state);
}
